package com.ppl.server.model;

import com.github.jmkgreen.morphia.annotations.Indexed;
import com.ppl.server.model.enums.SocialType;

import java.util.Map;

/**
 * User: Vincent
 * Date: 11/13/12
 * Time: 10:10 AM
 */
public class SocialIdentity extends EmbededModel{
    private SocialType type;
    private String socialName;
    @Indexed
    private String socialId;
    private String imageUrl;
    private String profileUrl;
    private Map<String,String> attributes;

    public SocialType getType() {
        return type;
    }

    public void setType(SocialType type) {
        this.type = type;
    }

    public String getSocialName() {
        return socialName;
    }

    public void setSocialName(String socialName) {
        this.socialName = socialName;
    }

    public String getSocialId() {
        return socialId;
    }

    public void setSocialId(String socialId) {
        this.socialId = socialId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getProfileUrl() {
        return profileUrl;
    }

    public void setProfileUrl(String profileUrl) {
        this.profileUrl = profileUrl;
    }

    public Map<String, String> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }
}
